{% ifequal nbServices 0 %}
<p>There are no services in this category.</p>
{% else %}
<div class="center">
<table class="tableServiceList">
  <tr>
    <th>Name</th><th>Desc</th><th>Vendor</th><th>Validation</th>
  </tr>
  {% for service in services %}
  <tr>
    <td><a href="{{base_url}}service/{{service.id}}/">{{service.name}}</a></td>
    <td>{{service.desc|truncatewords:15}}</td>
    <td><a href="{{base_url}}vendor/{{service.producedBy.id}}/">{{service.producedBy.name}}</a></td>
    <td><img src="{{base_url}}serviceImg/{{service.id}}/" alt="{{service.percentageOfSuccessfulTests}}% of success"/></td>
  </tr>
  {% endfor %}
</table>
</div>
{% endifequal %}